package com.gzist.blog_system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: 黄泽建
 * @TableName t_permission
 */
@TableName(value ="t_permission")
@Data
@ApiModel("文章统计模块")
public class Permission implements Serializable {
    /**
     * 权限id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("权限id")
    private Long id;

    /**
     * 权限名字
     */
    @TableField(value = "per_name")
    @ApiModelProperty("权限名字")
    private String perName;

    /**
     * 权限标识
     */
    @TableField(value = "perms")
    @ApiModelProperty("权限标识")
    private String perms;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}